#ifndef __NCRASH_HEADER__
#define __NCRASH_HEADER__

#include <Windows.h>

#define NCRASH(exp)								\
	{											\
		bool crashed = false;					\
		__try {									\
			exp;								\
		}										\
		__except(EXCEPTION_EXECUTE_HANDLER){	\
			crashed = true;						\
		}										\
		NTRUE(crashed);							\
	}											\

#endif //__NCRASH_HEADER__